Learn R Programming

Directional (version 4.0)

Inverse of the Euclidean transformation: Inverse of the Euclidean transformation

Description

It transforms the data from the Euclidan coordinates to latitude dn longitude.

Usage

euclid.inv(U)

Arguments

U

A matrix of unit vectors, or even one single unit vector in three dimensions.

Value

A two column matrix:

u

The first column is the latitude and the second is the longitude, both expressed in degrees.

Details

It takes the matrix of unit vectors and back transforms it to latitude and longitude.

See Also

euclid, Arotation, lambert

Examples

Run this code
# NOT RUN {
x <- rvmf(10, rnorm(3), 10)
euclid.inv(x)
euclid( euclid.inv(x) )
x
# }

Run the code above in your browser using DataLab